package ynu.edu.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import ynu.edu.auth.domain.Menu;

import java.util.List;

@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 根据用户id查询权限
     * @param userId
     * @return
     */
    List<String> selectPermsByUserId(Long userId);
}
